#include "registerdialog.h"
#include "ui_registerdialog.h"

RegisterDialog::RegisterDialog(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::RegisterDialog)
{
    ui->setupUi(this);


    //点击取消按钮时，发送switchLogin的信号
    connect(ui->cancelBtn,&QPushButton::clicked,this,&RegisterDialog::switchLogin);
}

RegisterDialog::~RegisterDialog()
{
    delete ui;
}
